home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-17 / srdsk202.zip / SRDISK.DOC < prev    next >
Text File  |  1993-01-27  |  26KB  |  695 lines

  1.  
  2.                               SRDISK (TM)
  3.                     ReSizeable RAMDisk version 2.02
  4.                          for XMS and EMS memory
  5.  
  6.                  Copyright (c) 1991-1993 Marko Kohtala
  7.                           All rights reserved
  8.  
  9.  
  10.  
  11. CONTENTS
  12.  
  13.   1. Disclaimer of warranty
  14.   2. License
  15.   3. Features included
  16.   4. Files in this release
  17.   5. Usage
  18.   5.1. Basic installation
  19.   5.2. Driver
  20.   5.3. SRDISK program
  21.   5.3.1 SRDISK sample commands
  22.   5.3.2 SRDISK command line options
  23.   6. Troubleshooting
  24.   7. Trademarks
  25.   8. Last words
  26.  
  27.  
  28.  
  29.                        1. DISCLAIMER OF WARRANTY
  30.  
  31. THIS SOFTWARE AND MANUAL ARE PROVIDED "AS IS" AND WITHOUT WARRANTIES AS 
  32. TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER 
  33. EXPRESSED OR IMPLIED.  BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE 
  34. ENVIRONMENTS IN WHICH THIS PROGRAM MAY BE USED, NO WARRANTY OF FITNESS 
  35. FOR A PARTICULAR PURPOSE IS OFFERED.
  36.  
  37. GOOD DATA PROCESSING PROCEDURE DICTATES THAT ANY PROGRAM BE THOROUGHLY
  38. TESTED WITH NON-CRITICAL DATA BEFORE RELYING ON IT.  THE USER MUST
  39. ASSUME THE ENTIRE RISK OF USING THE PROGRAM.  ANY LIABILITY OF THE
  40. SELLER WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OF
  41. PURCHASE PRICE.
  42.  
  43.  
  44.  
  45.                                2. LICENSE
  46.  
  47. This software is NOT public domain. It is copyrighted software
  48. distributed as shareware.
  49.  
  50. This software is NOT free. A license fee must be paid if used longer 
  51. than for one month evaluation period. See PAYMENT.DOC for details of the 
  52. payment.
  53.  
  54. If you received this software on a CD-ROM or from a disk vendor, you 
  55. have only paid for the disk. You do NOT have a license to use this 
  56. software.
  57.  
  58. Everybody has the right to copy and distribute this software as long as
  59. it is unmodified and all the original files listed in chapter 4 of this 
  60. document are included. A fee of at most $7 may be charged for the total 
  61. expences of copying. If a copying fee is taken, the receiver of this 
  62. software must be made aware that he has only the evaluation and copying 
  63. license stated above.
  64.  
  65.  
  66.  
  67.                           3. FEATURES INCLUDED
  68.  
  69. This RAM disk currently supports the following features:
  70.  
  71.   * Compatible with MS-DOS versions from 3.00 to 5.x and DR-DOS 5 to 6.
  72.   * XMS - Extended memory on 286 and up with HIMEM or other XMS 2.0
  73.     driver.
  74.   * EMS - Expanded memory of LIM/EMS version 4.0.
  75.   * Device drivers may be chained to form larger disks using many
  76.     different kind memories.
  77.   * Resizeable - can preserve disk contents if new format has room 
  78.     enough.
  79.   * Removable. Can be disabled without reboot.
  80.   * Supports 32-bit sector addressing introduced in DOS 4. Thus over 32M
  81.     RAM disks are possible. (Up to 63M disks tested.)
  82.   * Configurable
  83.       - sector size
  84.       - cluster size
  85.       - root directory entry count
  86.       - number of FATs
  87.   * Predefined DOS and FDFORMAT floppy disk look-alike formats.
  88.   * DISKCOPY compatible with DOS versions from 3.20 up. You can copy
  89.     to/from SRDISK drive using DOS DISKCOPY.
  90.   * Write protection.
  91.   * Can optionally set environment variables SRDISKn (n=1,2,...) to
  92.     the installed SRDISK drive letters.
  93.  
  94. I have a list of new features to implement in the future. By sending 
  95. money and feature suggestions you can help me make this program still 
  96. better.
  97.  
  98. Users may find that the ability to resize is invaluable. Since some 
  99. programs can take best use of memory by directly using it while others 
  100. need a fast disk for temporary files, you can now have optimal 
  101. performance with both kinds of programs without the trouble of changing 
  102. configuration and rebooting.
  103.  
  104. The feature of being able to resize automagically when there is need for 
  105. it is currently not in my reach.
  106.  
  107.  
  108.  
  109.                         4. FILES IN THIS RELEASE
  110.  
  111. The following files are distributed in this release:
  112.  
  113.         READ.ME         some notes
  114.         SRDISK.DOC      this document
  115.         SRDXMS.SYS      device driver for XMS memory
  116.         SRDXMSS.SYS     device driver for XMS memory (small version)
  117.         SRDEMS.SYS      device driver for EMS memory
  118.         SRDEMSS.SYS     device driver for EMS memory (small version)
  119.         SRDISK.EXE      formatter program
  120.         PAYMENT.DOC     registering information
  121.         WHATSNEW.DOC    what is new in this release and history
  122.         FILE_ID.DIZ     short description of packet for BBS operators
  123.  
  124. The small versions of device drivers do not support DOS DISKCOPY 
  125. compatibility and may require user to make sure there is enough stack 
  126. available by specifying STACKS=8,512 (or similar) in CONFIG.SYS. Also, 
  127. you can not chain another device driver after a small version device 
  128. driver.
  129.  
  130.  
  131.  
  132.                                 5. USAGE
  133.  
  134. The SRDISK is basicly split into two parts:
  135.  
  136.         1) a device driver to add the virtual drive into DOS and
  137.         2) a program to control the device driver
  138.  
  139. The following explains the installation and how to use both of these
  140. parts.
  141.  
  142.  
  143.                         5.1. BASIC INSTALLATION
  144.  
  145. The basic installation for XMS memory can be done following these steps:
  146.  
  147. 1. Copy SRDXMS.SYS into you root directory.
  148.  
  149. 2. Copy SRDISK.EXE into some directory in your PATH.
  150.  
  151. 3. Make sure you have HIMEM.SYS or some other XMS driver installed
  152.    in CONFIG.SYS before the following step.
  153.  
  154. 4. Add into your CONFIG.SYS line
  155.  
  156.         DEVICE=SRDXMS.SYS
  157.  
  158. 5. Add into your AUTOEXEC.BAT after the PATH command line
  159.  
  160.         SRDISK <size>
  161.  
  162. The <size> defines the disk size in Kbytes.
  163.  
  164. If you have EMS memory, then use file SRDEMS.SYS in place of SRDXMS.SYS 
  165. and make sure EMS 4.0 device driver is installed in CONFIG.SYS before 
  166. the SRDEMS.SYS.
  167.  
  168. The device driver adds into DOS a new disk drive. Before you run
  169. SRDISK.EXE or when you set the disk size to zero, the new disk drive
  170. behaves as if you have a floppy drive without a floppy inserted.
  171.  
  172.  
  173.                               5.2. DRIVER
  174.  
  175. The driver can accept two parameters:
  176.  
  177.         DEVICE=SRDmmm.SYS [d:] [/A]
  178.  
  179. The [] around the parameter mean it is optional; you must not type the
  180. brackets.
  181.  
  182. d:      The 'd:' can be used to tell the driver at what letter it is 
  183.         assigned. It is mostly a cosmetic thing. If your version of DOS 
  184.         does not tell the drive letter to the device driver, and srdisk 
  185.         can not later determine it, you can use this to make it known.
  186.  
  187.         Another use for 'd:' is to define into what SRDISK drive the 
  188.         current driver is to be appended.
  189.  
  190. /A      This tells the driver to append itself to the previously 
  191.         installed SRDISK device driver. The memory accessed using this 
  192.         driver is then available as extra memory to the previously 
  193.         installed SRDISK drive.
  194.  
  195.         If you want the low part of your disk to use XMS and the high 
  196.         part EMS memory, you can put these two lines into your 
  197.         CONFIG.SYS
  198.  
  199.                 DEVICE=SRDXMS.SYS
  200.                 DEVICE=SRDEMS.SYS /A
  201.  
  202.         For this to work, the first device driver must have the extra 
  203.         code to look into the next driver for more memory. Therefore the 
  204.         first device driver must not be the small version SRDXMSS.SYS or 
  205.         SRDEMSS.SYS.
  206.  
  207. Merely installing the driver gives you no RAM disk. It is as if you had 
  208. installed a floppy drive without putting a disk in the drive. For that 
  209. you need the SRDISK.EXE program.
  210.  
  211.  
  212.                           5.3. SRDISK PROGRAM
  213.  
  214. The disk can be enabled by, for example, using command "SRDISK 1024"
  215. which will make first SRDISK a 1024K disk. It can be disabled by making
  216. it of size 0: "SRDISK 0".
  217.  
  218. You should include the command to enable the RAM disk into your
  219. AUTOEXEC.BAT file.
  220.  
  221. The SRDISK.EXE is self documented. You'll get the documentation by
  222. typing at the DOS prompt "SRDISK /?" and hitting enter. To get a hang of
  223. it better, some examples with explanations are given below.
  224.  
  225.  
  226.                      5.3.1. SRDISK SAMPLE COMMANDS
  227.  
  228. Command
  229.  
  230.         SRDISK 1024
  231.  
  232. creates or changes the old disk to a 1024K (= 1M) disk.
  233.  
  234. More precisely it calculates various disk parameters as it best sees fit
  235. for most users needs. Those disk parameters can be defined by user on
  236. the command line if the calculated values do not meet his needs. After
  237. the parameters have been calculated, the memory (1024K = 1M) needed for
  238. the disk is allocated and a disk image is created into the memory.
  239.  
  240. The calculated parameters include sector size, cluster size, number of
  241. FATs and root directory size.
  242.  
  243. - Sector is the basic unit of storage. It's size does not mean much, but
  244.   it has to be a power of 2 and no larger than 512 bytes.
  245.  
  246. - Cluster size tells in how large blocks the space is allocated. Larger
  247.   clusters mean smaller FAT (= File Allocation Table), but then even the
  248.   smallest file always takes at least that much space. Cluster can not
  249.   be smaller than one sector. A cluster is a collection of sectors.
  250.  
  251. - FAT is the table that holds information about each allocation unit,
  252.   cluster, on the disk. The information can be indication that the
  253.   cluster is free, or where the next cluster of the file is or that the
  254.   cluster is unusable. A disk only needs one FAT - though multiple
  255.   copies of it can be specified. Note that the other FATs are only
  256.   copies of the first one.
  257.  
  258. - Root directory is limited to hold only some predefined number of
  259.   files. If you get "Can not create file" errors while there is plenty
  260.   of free space on disk, you need to make the root directory larger.
  261.   Alternatively you should create a subdirectory and create the files
  262.   there. Subdirectories can be arbitrarily large.
  263.  
  264. If there is data on the disk to be preserved, sector and cluster size 
  265. are not changed.
  266.  
  267. Command
  268.  
  269.         SRDISK 1024 /O
  270.  
  271. does the same as the command 'SRDISK 1024' except the various disk
  272. parameters are not calculated but instead the old parameters are used.
  273.  
  274. Command
  275.  
  276.         SRDISK /F:1440
  277.  
  278. tries to create the disk to look like a real floppy disk. It also 
  279. defines some parameters that otherwise have no effect like media 
  280. descriptor, number of heads and sectors per track. These parameters have 
  281. no other function but to make it look like it is a real, physical disk - 
  282. which it is not. SRDISK drives are not accessible through BIOS, so some 
  283. diskcopy and utility programs can fail if used with SRDISK.
  284.  
  285. Command
  286.  
  287.         SRDISK /S:256 /C:1024 /D:64
  288.  
  289. reformats the disk. The size is determined by the old size of the disk
  290. even without the use of /O. Sector size is changed to 256 bytes, cluster
  291. size to 1024 bytes (two sectors) and root directory will hold 64 entries
  292. (one of which is used for the volume label).
  293.  
  294. Command
  295.  
  296.         SRDISK /U
  297.  
  298. clears the disk. It recalculates the format and makes it better if 
  299. possible, but preserves the disk size. Without this switch, the disk 
  300. contents are preserved if possible. This is also usefull if you can not 
  301. resize the disk because of errors on it -- using this option the errors 
  302. will be ignored and the disk is made whole new.
  303.  
  304. Command
  305.  
  306.         SRDISK E:
  307.  
  308. tests if E is a SRDISK RAMdisk and, as no format is defined, display
  309. it's current configuration. The letter may not correspond to the letter
  310. known by DOS for the drive if the letter is defined wrong when
  311. installing the SRDISK.SYS device driver in CONFIG.SYS.
  312.  
  313. Command
  314.  
  315.         SRDISK
  316.  
  317. without the drive letter specified tries to determine the drive by first
  318. trying the current drive and if it is not a SRDISK drive, then the first
  319. SRDISK drive loaded in CONFIG.SYS. As no change in the format is
  320. defined, the current configuration of the found drive are displayed.
  321.  
  322.  
  323.                    5.3.2. SRDISK COMMAND LINE OPTIONS
  324.  
  325. To ease remembering the command line options, SRDISK has for some 
  326. settings several different options. Many of the options are long, but 
  327. you can truncate them if you write enough for SRDISK to identify the 
  328. option unambiguously.
  329.  
  330. An exact match in the full lenght of the option is always identified 
  331. instead of some another option that begins with the same characters.
  332.  
  333. All numeric parameters for the options are translated using the C 
  334. language rules: Number starting with 0 is octal number (base eight) and 
  335. with 0x is hexadecimal (base 16), others are decimal.
  336.  
  337. The options in alphabetical order are
  338.  
  339.   /?               List of most important command line options
  340.   /A:n             Number of FAT copies (1 or 2)
  341.   /ASK             Ask for confirmation if data would be lost
  342.   /AVAILABLE:n     Resize to disk to have n Kbytes of space available
  343.   /C:n             Cluster size
  344.   /CLUSTER:n       Same as /C
  345.   /D:n             Dir entries
  346.   /DEVICETYPE:n    Device type for DISKCOPY compatibility
  347.   /DIRENTRIES:n    Same as /D
  348.   /DOSFORMAT:n     DOS or FDFORMAT lookalike format
  349.   /E               Set environment variables SRDISKn
  350.   /ENVIRONMENT     Same as /E
  351.   /ERASE           Clear disk contents
  352.   /F:n             Same as /DOSFORMAT
  353.   /FATS:n          Same as /A
  354.   /FILESPACE:n     Make the disk have n Kbytes space for files
  355.   /FORCE           Destroy data if necessary to force new format
  356.   /H               Same as /?
  357.   /HEADS:n         Number of heads for DISKCOPY compatibility
  358.   /HELP            Same as /?
  359.   /M:n[:n...]      Max sizes for different drivers in a drive
  360.   /MAXSIZES:n      Same as /M
  361.   /MEDIA:n         Media ID byte for DISKCOPY compatibility
  362.   /MINSIZE         Alias to /AVAILABLE:0, minimize the disk
  363.   /NO              NO, do not destroy data to complete new format
  364.   /O               Use old disk format where not redefined
  365.   /OLD             Same as /O
  366.   /REGISTER        Display registration information
  367.   /S:n             Sector size (128, 256 or 512 bytes)
  368.   /SECTORS:n       Number of sectors per track
  369.   /SECTORSIZE:n    Same as /S
  370.   /SIDES:n         Same as /HEADS
  371.   /SPT:n           Same as /SECTORS
  372.   /U               Same as /ERASE, FORMAT compatible
  373.   /UNCONDITIONAL   Same as /ERASE
  374.   /V:n             Verbose level (1-5) to control amount of output
  375.   /VERBOSE:n       Same as /V
  376.   /W:x             Write protection x is ON/+ or OFF/-
  377.   /WRITEPROTECT:x  Same as /W
  378.   /Y               Same as /FORCE
  379.   /YES             Same as /FORCE
  380.  
  381. The options by function
  382.  
  383.   /? /H /HELP
  384.  
  385.         List the most important command line options and exit.
  386.  
  387.   /A:n /FATS:n
  388.  
  389.         Number of FAT copies (1 or 2). You need only one FAT unless you 
  390.         need to make the disk look like some floppy disk.
  391.  
  392.   /AVAILABLE:n /MINSIZE
  393.  
  394.         Space available on the disk. The disk size will be counted to be 
  395.         large enough to hold the files already on it and to have n 
  396.         Kbytes of space available.
  397.  
  398.         /MINSIZE is the same as /AVAILABLE:0 and will also make the root 
  399.         directory smaller.
  400.  
  401.   /C:n /CLUSTER:n
  402.  
  403.         Cluster size. Cluster is the unit used to allocate disk space.
  404.         This option has effect on the space used for File Allocation 
  405.         Table. If cluster size is small, bigger FAT is needed and there 
  406.         is less room for files, but files may take more room.
  407.  
  408.   /D:n /DIRENTRIES:n
  409.  
  410.         Root directory entries. FAT file system has fixed size root 
  411.         directory. You can specify the size for it using this option.
  412.  
  413.         Note that each entry is 32 bytes long and a fixed amount of 
  414.         sectors are used to hold the entries. Thus if sector size is 512 
  415.         bytes each sector can hold 16 entries (512 / 32 = 16) and 
  416.         specifying /D:4 or /D:16 uses exactly the same amount of space 
  417.         on the disk: one sector.
  418.  
  419.         If there is nothing against it, I start to round the number of 
  420.         root directory entries up to fill the last root directory 
  421.         sector. Some utility programs can be confused if the last sector 
  422.         is only partially used.
  423.  
  424.   /DEVICETYPE:n
  425.  
  426.         DOS does not care what type the device is, but in case some 
  427.         utility program asks DOS for the type it can be specified with 
  428.         this switch. This is normally set correctly if you use the /F 
  429.         switch. Device types are
  430.  
  431.                 0 = 360K
  432.                 1 = 1.2M
  433.                 2 = 720K
  434.                 3 = 8-inch single-density
  435.                 4 = 8-inch double-density
  436.                 5 = Hard disk
  437.                 6 = Tape drive
  438.                 7 = 1.44M
  439.                 8 = Read/Write optical
  440.                 9 = 2.88M
  441.  
  442.   /E /ENVIRONMENT
  443.  
  444.         Set environment variables SRDISK1, SRDISK2 etc. to the drive 
  445.         letters or SRDISK drives installed. You can then use the 
  446.         variables in batch files to access the RAM disk.
  447.  
  448.         For example:
  449.  
  450.                 REM Set environment varsiables without much output and
  451.                 REM make a tiny disk at the same time
  452.                 SRDISK /E /V:1 /F:1
  453.                 SET TMP=%SRDISK1%:\TMP
  454.                 MKDIR %TMP%
  455.  
  456.                 IF "%SRDISK2%" == "" ECHO You have only one SRDISK drive
  457.  
  458.   /F:n /DOSFORMAT:n
  459.  
  460.         DOS or FDFORMAT lookalike formats. The number n defines the disk 
  461.         size in Kbytes. This option also sets all the other parameters 
  462.         besides the size to match the corresponding DOS or FDFORMAT 
  463.         created floppy disk.
  464.  
  465.         The currently supported formats are
  466.  
  467.           Size Media Device SPT Sides
  468.  
  469.            160  FE     360   8   1    DOS
  470.            180  FC     360   9   1    DOS
  471.            200  FD     360  10   1    FDFORMAT
  472.            205  FD     360  10   1    FDFORMAT
  473.            320  FF     360   8   2    DOS
  474.            360  FD     360   9   2    DOS
  475.            400  FD     360  10   2    FDFORMAT
  476.            410  FD     360  10   2    FDFORMAT
  477.            640  FB     720   8   2    DOS
  478.            720  F9     720   9   2    DOS
  479.            800  F9     720  10   2    FDFORMAT
  480.            820  F9     720  10   2    FDFORMAT
  481.           1200  F0     1.2  15   2    DOS
  482.           1440  F0    1.44  18   2    DOS
  483.           1476  F0    1.44  18   2    FDFORMAT
  484.           1600  F0    1.44  20   2    FDFORMAT
  485.           1640  F0    1.44  20   2    FDFORMAT
  486.           1680  F0    1.44  21   2    FDFORMAT
  487.           1722  F0    1.44  21   2    FDFORMAT
  488.  
  489.         In addition to these there is a special format 1 to make a mini 
  490.         disk. This can be used if you have your RAM disk in your PATH 
  491.         and do not want to get Drive Not Ready errors when you have 
  492.         freed the memory for RAM disk. Check your memory manager though: 
  493.         some memory managers allocate memory in 16K chunks and a 1K disk 
  494.         uses as much memory as a 16K disk does.
  495.  
  496.   /FILESPACE:n
  497.  
  498.         Space available for files. The disk will be larger than n 
  499.         Kbytes, since file allocation table and root directory always 
  500.         take some space too.
  501.  
  502.         Note that files usually take some extra space because the space 
  503.         for them is allocated in clusters. For example, if cluster size 
  504.         is 1024 bytes (1K), any file this long or smaller (but not 0 
  505.         bytes) will use one cluster and thus 1024 bytes.
  506.  
  507.         Subdirectories also use file space.
  508.  
  509.   /HEADS:n /SIDES:n
  510.  
  511.         Number of heads for DISKCOPY compatibility. This is normally set 
  512.         correctly if you use the /F switch.
  513.  
  514.   /M:n[:n...] /MAXSIZES:n[:n...]
  515.  
  516.         Max sizes for different drivers in a drive.
  517.  
  518.         Normally SRDISK uses as much space as is available on the first 
  519.         driver and only then starts allocating on the second one. If you 
  520.         want to use only up to some amount of memory on the different 
  521.         drivers chained to one drive, you can define the amounts with 
  522.         this option.
  523.  
  524.         For example to define first driver use only 100K of memory, give 
  525.         command
  526.  
  527.                 SRDISK /M:100
  528.  
  529.         If you would have three or more drivers chained into one drive, 
  530.         you could define first and third to use 100K and let the other 
  531.         drivers use as much as they were allowed to use before with 
  532.         command
  533.  
  534.                 SRDISK /M:100::100
  535.  
  536.         [The /MAXSIZES option may be removed in future versions because 
  537.         it conflicts with /MAXSIZE I plan to implement. /MAXSIZE will be
  538.         the opposite of /MINSIZE.]
  539.  
  540.   /MEDIA:n
  541.  
  542.         Media ID byte for DISKCOPY compatibility. This is normally set 
  543.         correctly if you use the /F switch.
  544.  
  545.         Use Media IDs in the range from 0xF0 to 0xFF. Smaller values 
  546.         make CHKDSK report that it is possibly non-DOS format media.
  547.  
  548.   /O /OLD
  549.  
  550.         Use old disk format where not explicitly redefined with command
  551.         line options.
  552.  
  553.   /REGISTER
  554.  
  555.         Displays the registration information.
  556.  
  557.   /S:n /SECTORSIZE:n
  558.  
  559.         Sector size (128, 256 or 512 bytes). Sector is the basic 
  560.         allocation unit of a disk. Smaller sector size can decrease the 
  561.         amount of memory wasted on boot sector, FAT and root directory, 
  562.         but that is just about the only benefit of it. Clusters are 
  563.         formed of sectors, so sector size can not be larger than cluster 
  564.         size. DOS uses by default 512 bytes per sectors.
  565.  
  566.   /SECTORS:n /SPT:n
  567.  
  568.         Number of sectors per track for DISKCOPY compatibility. This is 
  569.         normally set correctly if you use the /F switch.
  570.  
  571.   /U /UNCONDITIONAL /ERASE
  572.  
  573.         Clear disk contents. This implies option /YES.
  574.  
  575.         If your disk gets corrupted and SRDISK refuces to reformat it, 
  576.         try this switch. SRDISK should not then care about the current 
  577.         disk, but rather just wipes it off and creates a new one.
  578.  
  579.   /V:n /VERBOSE:n
  580.  
  581.         Verbose level (1-5) to control amount of output. With /V:1 you 
  582.         can limit the output to the title.
  583.  
  584.   /W:x /WRITEPROTECT:x
  585.  
  586.         Write protection contol. The parameter x can be ON, + or nothing 
  587.         to enable the write protection or OFF or - to disable it.
  588.  
  589.   /Y /YES /FORCE
  590.   /NO
  591.   /ASK
  592.  
  593.         These are to control the need of user intervention.
  594.  
  595.         All questions in SRDISK are formed so that answer YES will give 
  596.         permission to destroy data and continue, while NO will abort the 
  597.         operation and try to preserve the data on the disk. By these 
  598.         options you can give the answer on the command line.
  599.  
  600.         /ASK is the default and means the user will be prompted to make 
  601.         choise.
  602.  
  603.  
  604.  
  605.                            6. TROUBLESHOOTING
  606.  
  607. Causes of grief
  608.  
  609. 1. RAM disks loose their contents when power is turned off! Do not store
  610. anything valuable there.
  611.  
  612. 2. There is no XMS nor EMS memory without a proper device driver. 
  613. HIMEM.SYS will do for XMS. For EMS you need to install the device driver 
  614. that came with your expanded memory hardware. QEMM can supply both on 
  615. 386 or better hardware and you might be better off using the SRDEMS 
  616. driver with it.
  617.  
  618. 3. Not all HIMEM.SYS support memory above 16M limit. HIMEM.SYS versions
  619. 2.78 and later should be good.
  620.  
  621. 4. DR-DOS 5 HIDOS.SYS does not implement the XMS resize function. 
  622. Therefore SRDISK may not be able to resize the disk unless you replace 
  623. the HIDOS.SYS with HIMEM.SYS.
  624.  
  625. 5. Some programs swap themselves for a shell to the ramdisk. If you
  626. change the format of the disk or clear the disk from such program, the
  627. swapped program may not be able to recover and can crash your computer.
  628.  
  629. 6. Some disk caching programs are reported to cache SRDISK too! This can 
  630. cause a system crash and caching a RAM disk is anyway useless. If you 
  631. use a disk cache, please load it before SRDxxx.SYS or tell it explicitly
  632. not to cache the SRDISK drive.
  633.  
  634. 7. SRDISK needs it's XMS memory in one contiguous area. Therefore if
  635. SRDISK complaints about insufficient memory while you have plenty of it 
  636. free, the reason might be that some other program uses a piece of the
  637. memory in the middle of the available memory.
  638.  
  639. 8. There can be problems with XMS memory when not enough of it can be
  640. allocated. This may result in lost disk contents. Also some memory 
  641. managers that provide both XMS and EMS (like QEMM, Trademark of 
  642. Quarterdeck Office Systems Inc.) can fool SRDISK to think there is more 
  643. memory available than there really is if SRDISK uses both XMS and EMS 
  644. memory for the disk.
  645.  
  646. 9. Some multitasking environments (like MS-Windows) can free the memory 
  647. allocated under them to the RAM disk. This will cause the data to be 
  648. lost and errors in programs that try to access the disk. There can be 
  649. also other problems with MS-Windows.
  650.  
  651.  
  652.  
  653.                              7. TRADEMARKS
  654.  
  655. Oh, and we should not forget these (I can not verify they are correct, 
  656. but still):
  657.  
  658. QEMM is a trademark of Quartedreck Office Systems Inc.
  659. Microsoft, MS-DOS, SmartDrive and Windows are trademarks of Microsoft 
  660. Corporation. DR-DOS is a trademark of Digital Research Inc.
  661.  
  662. FDFORMAT is copyrighted by (and trademark of?) Christoph H. Hockstätter, 
  663. Germany. Nice work.
  664.  
  665. SRDISK is my trademark.
  666.  
  667. If any mentioned trademarks are not included in this list, please tell 
  668. me about them. They are anyway hereby acknowledged.
  669.  
  670.  
  671.  
  672.                              8. LAST WORDS
  673.  
  674. You can contact me by sending E-mail from
  675.  
  676.         Internet to `Marko.Kohtala@compart.fi'
  677.         CompuServe to `>INTERNET:Marko.Kohtala@compart.fi'
  678.  
  679. If the above address fails, I can still be reached at
  680. `Marko.Kohtala@hut.fi'.
  681.  
  682. My surface mail address is
  683.  
  684.         Marko Kohtala
  685.         PL 115
  686.         SF-01451 Vantaa
  687.         FINLAND
  688.  
  689. You can also call Airline BBS, 24H, HST, V.32, V.42, MNP, +358-0-8725380 
  690. and leave mail to me, Marko Kohtala (sorry, no netmail).
  691.  
  692. If you have access to Fidonet, Bitnet, UUCP mail or just about any 
  693. network, as your system operator if you can mail to Internet.
  694.  
  695.